//
//  UITableViewCell+Huwo.m
//  HuwoCommon
//
//  Created by x x on 2018/9/13.
//  Copyright © 2018年 xx. All rights reserved.
//

#import "UITableViewCell+App.h"

@implementation UITableViewCell (App)

#pragma mark --
+ (UINib *)nibWithIdentifier:(NSString *)identifier
{
    return [UINib nibWithNibName:identifier bundle:nil];
}

#pragma mark - Public
+ (void)registerTable:(UITableView *)tableView
        nibIdentifier:(NSString *)identifier
{
    [tableView registerNib:[self nibWithIdentifier:identifier] forCellReuseIdentifier:identifier];
}

- (void)configure:(UITableViewCell *)cell
        customObj:(id)obj
        indexPath:(NSIndexPath *)indexPath
        tableView:(UITableView *)tableView
{
    
}

+ (CGFloat)getCellHeightWithCustomObj:(id)object
                            indexPath:(NSIndexPath *)indexPath
{
    if (!object)
    {
        return 0.0f;
    }
    
    return 60;
}

@end
